﻿using Microsoft.AspNetCore.SignalR;

namespace Aurora.SingalR.Hubs
{
    public interface IHubHandler
    {
        Task SendMessage(IHubCallerClients clients, HubMessage message);
        Task SendMessage(IHubCallerClients clients, string user, string message, string creator, string messageId);
        Task NotifyAll(IHubCallerClients clients, string creator, string message, string messageId);

        Task Send(IHubCallerClients clients, HubMessage message);


        Task SendMessage(IHubClients clients, HubMessage message);
        Task SendMessage(IHubClients clients, string user, string message, string creator, string messageId);
        Task NotifyAll(IHubClients clients, string creator, string message, string messageId);

        Task Send(IHubClients clients, HubMessage message);


    }
}
